-- lab
-- created by chengb
-- 死灵试验台

return {
    restoreGrid = function(grid, info)
        -- 还原
        if type(info.lab_id) == "number" then
            grid.labId = info.lab_id;
        end
    end,

    collectContext = function(grid)
        -- 收集
        local ret = {};
        if grid.labId then
            ret.lab_id = grid.labId;
        end

        return ret;
    end
};
